package io.github.qifan777.knowledge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.Null;
import lombok.Data;
import java.io.Serializable;

/**
 * @author tjw
 * @date 2025-04-22
 * @Description
 */
@Data
@TableName("user")
public class User implements Serializable {


    private String id;

    /**
     * 手机号
     */

    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 头像
     */
    @Null
    private String avatar;

    /**
     * 昵称
     */
    @Null
    private String nickname;

    /**
     * 性别
     */
    @Null
    private String gender;
}
